<?php
namespace html;

class RenderHTML {
	public static function addScript($script) {
		echo '<script src="' . $script . '"></script>';
	}
	public static function addStyle($style) {
		echo '<link type="text/css" rel="stylesheet" href="' . $style . '"/>';
	}
	public static function setTitle($title) {
		echo '<title>' . $title . '</title>';
	}
	public static function renderHeader($title) {
		echo '
				<!DOCTYPE>
				<html>
					<head>
					<meta charset="UTF-8">';
		self::setTitle ( $title );
	}
	public static function renderBody() {
		echo '
				</head>
				<body>';
	}
	public static function renderFooter() {
		echo '</body></html>';
	}
}